/**
 * Created by zhoulin on 2017/10/6.
 */

var aQuery = window.location.href.split("?");//取得Get参数
var aGET = new Array();
if(aQuery.length > 1)
{
    var aBuf = aQuery[1].split("&");
    for(var i=0, iLoop = aBuf.length; i<iLoop; i++)
    {
        var aTmp = aBuf[i].split("=");//分离key与Value
        aGET[aTmp[0]] = aTmp[1];
    }
}
var app = new Vue({
    el: '',
    data: {
        list:[]
    },
    methods: {
       
    },
    // 页面刚进入就显示数据
    created: function () {
    	//console.log(aGET.tid);
        /*this.$http.post('/index/pingjiao/pingJiaoInfo', {
        	'tid' : aGET.tid
        }, { emulateJSON: true })
            .then(function (response) {
                // 响应成功回调
                console.log(response.data)
                
                if(response.data.success){
                    this.list = response.data.obj;
                }else {
	                 layer.open({
					      content: response.data.msg
					      ,time: 3
					      ,skin: 'msg'
					    });
                }

            }, function (response) {
                // 响应错误回调
                console.log(response.data)
            });*/
    }
})
